//
//  ViewController.m
//  5.23
//
//  Created by dllo on 16/5/23.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()
@property (retain, nonatomic) IBOutlet UILabel *laberView;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


- (IBAction)button1:(UIButton *)sender {
     self.laberView.text = [self.laberView.text stringByAppendingString:sender.currentTitle];
}

- (IBAction)buttonadd:(UIButton *)sender {
    NSMutableString *str = [[NSMutableString alloc] init];
    
    
    
}

- (IBAction)buttonDelete:(UIButton *)sender {
    
    
    self.laberView.text = @"0";
    
}
- (IBAction)chengfa:(UIButton *)sender {
    
    
}





- (void)dealloc {
    [_laberView release];
    [super dealloc];
}
@end
